package com.meilai.project.vo.personnel.org;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class ExportRosterVO {

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Integer index;
    /**
     * 部门（职务）
     */
    @Excel(name = "部门（职务）", isWrap = true, width = 20)
    private String department_list_name;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 性别
     */
    @Excel(name = "性别")
    private String sex;

    /**
     * 联系方式
     */
    @Excel(name = "联系电话")
    private String mobile;

    /**
     * 身份证号码
     */
    @Excel(name = "身份证号")
    private String id_no;

    /**
     * 入编时间
     */
    @Excel(name = "入编时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate comp_fill_entry_date;

    /**
     * 考察期
     */
    @Excel(name = "考察期", width = 20)
    private String comp_fill_probation_time;

    /**
     * 是否入编
     */
    @Excel(name = "是否入编")
    private String be_regular;

    /**
     * 合同签订时间
     */
    @Excel(name = "合同签定时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate contract_sign_at;

    /**
     * 年限
     */
    @Excel(name = "年限")
    private String years;

    /**
     * 保密协议是否签订
     */
    @Excel(name = "保密协议是否签定")
    private String sign_confidentiality_agree;

    /**
     * 实际参保时间
     */
    @Excel(name = "实际参保时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate social_security_date;

    /**
     * 参保公司
     */
    @Excel(name = "参保公司")
    private String social_security_dep_name;

    /**
     * 学历
     */
    @Excel(name = "学历")
    private String degree;

    /**
     * 出生年月
     */
    @Excel(name = "出生年月")
    private String date_of_birth;

    /**
     * 生日
     */
    @Excel(name = "生日")
    private String birth;

    /**
     * 婚姻状况
     */
    @Excel(name = "婚姻情况")
    private String marriage;

    /**
     * 司龄
     */
    @Excel(name = "司龄")
    private String working_years;

    /**
     * 户籍地址
     */
    @Excel(name = "户籍地址")
    private String household_registration;

    /**
     * 家庭住址
     */
    @Excel(name = "家庭住址")
    private String home_address;

    /**
     * 紧急联系电话
     */
    @Excel(name = "紧急联系电话")
    private String urgent_phone;

    /**
     * 其他
     */
    @Excel(name = "其他")
    private String other;

    /**
     * 离职日期
     */
    @Excel(name = "离职时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate leave_date;
}